package net.hn.hnms.biz.indicator.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author 智呈物联 nzw
 * @date 2022/8/24
 */
@Data
@ApiModel(value = "SysIndicatorModel对象", description = "指标模型表")
@Entity
@TableName("ssys_indicator_model")
@Table(name = "ssys_indicator_model")
public class SysIndicatorModel {

    @Id
    private String id;
    @ApiModelProperty(value = "一级指标编码")
    private String indicatorFirstLevelCode;
    @ApiModelProperty(value = "二级指标编码")
    private String indicatorSecondLevelCode;
    @ApiModelProperty(value = "三级指标编码")
    private String indicatorThirdLevelCode;
    @ApiModelProperty(value = "模型参数评判值")
    private String indicatorValue;
    private String originalValue;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date modelTime;
    @ApiModelProperty(value = "数据时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date dataTime;
}
